import 'package:flutter/material.dart';
import 'package:flutter_demo/common_widget/my_appbar/my_app_bar.dart';

class FutureBuilderStream extends StatefulWidget {
  FutureBuilderStream({Key key}) : super(key: key);

  @override
  _FutureBuilderStreamState createState() => _FutureBuilderStreamState();
}

class _FutureBuilderStreamState extends State<FutureBuilderStream> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: MyAppBar(title: 'FutureBUilderStream').build(context),
      body: Text('fasd'),
    );
  }
}

class FutureBuilder extends StatelessWidget {
  const FutureBuilder({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Text('fasd'),
    );
  }
}
